package bean;

/**
 * @program:Supermarket)
 * @类名：
 * @author:Caoh
 * @create:2020-08-19)
 **/
public class MerType {
    //商品类型
    private int mertypeId;   //类型编号
    private String typename;  //类型名
    private int isalive;

    public MerType() {
    }

    public MerType(int mertypeId, String typename, int isalive) {
        this.mertypeId = mertypeId;
        this.typename = typename;
        this.isalive = isalive;
    }

    public int getMertypeId() {
        return mertypeId;
    }

    public void setMertypeId(int mertypeId) {
        this.mertypeId = mertypeId;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public int getIsalive() {
        return isalive;
    }

    public void setIsalive(int isalive) {
        this.isalive = isalive;
    }

    @Override
    public String toString() {
        return "MerType{" +
                "mertypeId=" + mertypeId +
                ", typename='" + typename + '\'' +
                ", isalive=" + isalive +
                '}';
    }

}
